package net.moonbiter;

import javax.servlet.http.HttpServletRequest;

public final class ServletUtils {
	private ServletUtils(){
		
	}
	
	public static String relativeUri(HttpServletRequest request){
		String contextPath = request.getContextPath();
		String completeUri = request.getRequestURI();
		return completeUri.substring(contextPath.length());
	}
}
